<?php

	echo "<pre>";
	require_once 'singletonPDO.php';
	$pdo = singletonPDO::getPdo();
	$pdo -> exec('set names utf8');

	$sql = "insert into user values(?,?,?)";
	$halfPro = $pdo->prepare($sql);

	$halfPro->bindValue(1,'');
	$halfPro->bindValue(2,'xiaohong');
	$halfPro->bindValue(3,'777');
	
	echo $halfPro->execute();
?>